<header>
  <nav>
    <div class="container">
      <a href="/">排课小程序</a>
      <ul>
        <li <% if (locals.activeNav === 'home') { %>class="active"<% } %>><a href="/">首页</a></li>
        <li <% if (locals.activeNav === 'courses') { %>class="active"<% } %>><a href="/courses">课程</a></li>
        <li <% if (locals.activeNav === 'teachers') { %>class="active"<% } %>><a href="/teachers">老师</a></li>
        <li <% if (locals.activeNav === 'about') { %>class="active"<% } %>><a href="/about">关于我们</a></li>
        <li <% if (locals.activeNav === 'login') { %>class="active"<% } %>><a href="/login">登录/注册</a></li>
      </ul>
    </div>
  </nav>
</header>
